<form action="index.php?c=zy_transport_track&m={%$act%}&post=1" method=post name=frm enctype="multipart/form-data" onSubmit="return Validator.Validate(this,3)">	
<table width="90%" name="tab_form" id="tab_form" class="tab_form" align="left" border="0" cellpadding="0" cellspacing="1">
<tbody>
<tr>
	<td width="20%" class="tab_bold">运输单号</td>
	<td><input type=text name="transport_no" size=30 value='{%$transport_no%}' dataType="Require"></td>
</tr>

<tr>
	<td width="20%" class="tab_bold">申请时间</td>
	<td>
	<input type=text name="app_time" size=30 value='{%$app_time|date_format:"%Y-%m-%d"%}' id="app_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "app_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">审批单号</td>
	<td><input type=text name="reply_no" size=30 value='{%$reply_no%}' dataType="Require"></td>
</tr>
<tr>
	<td width="20%" class="tab_bold">起运日期</td>
	<td>
	<input type=text name="start_time" size=30 value='{%$start_time|date_format:"%Y-%m-%d"%}' id="start_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "start_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">预计到货日期</td>
	<td>
	<input type=text name="v_end_time" size=30 value='{%$v_end_time|date_format:"%Y-%m-%d"%}' id="v_end_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "v_end_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">到货日期</td>
	<td>
	<input type=text name="end_time" size=30 value='{%$end_time|date_format:"%Y-%m-%d"%}' id="end_time" readonly>
	<script>
			Calendar.setup({
				inputField     :    "end_time",   // id of the input field
				ifFormat       :    "%Y-%m-%d",       // format of the input field
				showsTime      :    false,
				timeFormat     :    "24"
			});
		</script>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">运输方式</td>
	<td>
	<select name="type_id">
	{%html_options options=$transport_type_arr selected=$type_id%}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">所属项目</td>
	<td>
	<select name="project_id">
	{%html_options options=$project_arr selected=$project_id%}
	</select>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">物资描述</td>
	<td>
	<textarea cols="70" rows="4" id="materials_info" name="materials_info" >{%$materials_info%}</textarea>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">备注</td>
	<td>
	<textarea cols="70" rows="4" id="info" name="info" >{%$info%}</textarea>
	</td>
</tr>
<tr>
	<td width="20%" class="tab_bold">上传附件</td>
	<td><input type="file" name="file_path" id="file_path" size="40" /></td>
</tr>
<tr>
	<td colspan=4 align=center>
		<input type=hidden name='transport_track_id' id='transport_track_id' value='{%$transport_track_id%}'>
		<input type=submit value="提交" class="btn_form">&nbsp;&nbsp;
		<input type=reset value="重置" class="btn_form">
	</td>
</tr>
</tbody>
</table>
</form>